<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>微信登录</title>
</head>
<body>
<a href="{$url}" id="clickBtn">登录</a>
</body>
<script src="/public/echarts/jquery-3.7.1.min.js"></script>
<script type="text/javascript">
    /*主动触发跳转*/
    $('#clickBtn').trigger("click");

    /*定时主动触发跳转*/
    // setTimeout(function(){
    //     $('#clickBtn').trigger("click");
    // },2000)
</script>

</html>